/**
 * 定义站点模块
 */
(function(window, angular, undefined){

	var module = angular.module('water.entity.bcSendPlatformDataStrategy',['water.common.AJAXService']);
	
	module.service('$bcSendPlatformDataStrategyService',function($AJAXService){
				
		this.getList = function(platformId){
			var promise = $AJAXService.post("/BcSendPlatformDataStrategy/getList",{platformId:platformId});
			return promise;
		}
		
		this.getModel = function(id){
			var promise = $AJAXService.post("/BcSendPlatformDataStrategy/getModel",{id:id});
			return promise;
		}
		
		this.create = function(model){
			var promise = $AJAXService.post("/BcSendPlatformDataStrategy/save",model);
			return promise;
		}
		
		this.update = function(model){
			var promise = $AJAXService.post("/BcSendPlatformDataStrategy/update",model);
			return promise;
		}
		
		this.deleteModel = function(id){
			var promise = $AJAXService.post("/BcSendPlatformDataStrategy/delete",{id:id});
			return promise;
		}
		
	})
}(window, angular));